// This Javascript function handles button press events on the app alarmserverex
function buttonPressed(op) {


    if (op == "Add fixed alarm") {
        alarmServer.addFixedAlarm();
    }
    if (op == "Add floating alarm") {
        alarmServer.addFloatingAlarm();
    }
    if(op == "Exit"){
        Qt.quit();
    }
}

